[INFO] cloning repository https://github.com/VeyronSakai/my_leetcode_submits
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VeyronSakai/my_leetcode_submits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeyronSakai%2Fmy_leetcode_submits", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeyronSakai%2Fmy_leetcode_submits'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7cf544642e921ce6c51146e69c318dfada67e243
[INFO] checking VeyronSakai/my_leetcode_submits against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeyronSakai%2Fmy_leetcode_submits" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/VeyronSakai/my_leetcode_submits on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/VeyronSakai/my_leetcode_submits
[INFO] finished tweaking git repo https://github.com/VeyronSakai/my_leetcode_submits
[INFO] tweaked toml for git repo https://github.com/VeyronSakai/my_leetcode_submits written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/VeyronSakai/my_leetcode_submits already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded test-case v2.0.0-rc2
[INFO] [stderr]   Downloaded test-macro v0.1.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7cada8aa45d5b1d4801e6c5f19b8123b60c1f775396c990427f35a34b3053ff
[INFO] running `Command { std: "docker" "start" "-a" "e7cada8aa45d5b1d4801e6c5f19b8123b60c1f775396c990427f35a34b3053ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7cada8aa45d5b1d4801e6c5f19b8123b60c1f775396c990427f35a34b3053ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7cada8aa45d5b1d4801e6c5f19b8123b60c1f775396c990427f35a34b3053ff", kill_on_drop: false }`
[INFO] [stdout] e7cada8aa45d5b1d4801e6c5f19b8123b60c1f775396c990427f35a34b3053ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 223deeb57ade144cd0829aec737a90ef3226de96c5f6f7aeb7ea699afec7fc5a
[INFO] running `Command { std: "docker" "start" "-a" "223deeb57ade144cd0829aec737a90ef3226de96c5f6f7aeb7ea699afec7fc5a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]     Checking test-macro v0.1.9
[INFO] [stderr]     Checking my_leetcode_submits v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os`
[INFO] [stdout]  --> src/problem232.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::os::macos::raw::stat;
[INFO] [stdout]   |              ^^^^^ could not find `macos` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/problem1038.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]   --> src/problem104.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::cmp::max;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::var`
[INFO] [stdout]  --> src/problem15.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::var;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/problem1592.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1)))
[INFO] [stdout]    |             ^                                                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 10 -             ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1)))
[INFO] [stdout] 10 +             (total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/problem1636.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/problem168.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 |             let char_num = (t + ('A' as u8));
[INFO] [stdout]    |                            ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 -             let char_num = (t + ('A' as u8));
[INFO] [stdout] 11 +             let char_num = t + ('A' as u8);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/problem169.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/problem1791.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/problem1971.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::problem1305::TreeNode`
[INFO] [stdout]  --> src/problem2.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::problem1305::TreeNode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/problem2073.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/problem219.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 |             let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap();
[INFO] [stdout]    |                                             ^                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 22 -             let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap();
[INFO] [stdout] 22 +             let c = mp.get_mut(&nums[max(0, i as i32 - k - 1) as usize]).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::swap`
[INFO] [stdout]  --> src/problem246.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem::swap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/problem387.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Reverse`
[INFO] [stdout]  --> src/problem506.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Reverse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BinaryHeap`
[INFO] [stdout]  --> src/problem506.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{BinaryHeap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stdout] error: aborting due to previous error; 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my_leetcode_submits` (lib) due to 2 previous errors; 16 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "223deeb57ade144cd0829aec737a90ef3226de96c5f6f7aeb7ea699afec7fc5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "223deeb57ade144cd0829aec737a90ef3226de96c5f6f7aeb7ea699afec7fc5a", kill_on_drop: false }`
[INFO] [stdout] 223deeb57ade144cd0829aec737a90ef3226de96c5f6f7aeb7ea699afec7fc5a
